<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // let menpiao = 0
        // while(menpiao > 0) {
        //     console.log('进游乐园')
        //     menpiao--
        // }

        // do...while,不管条件满不满足,一定会无脑先执行一遍
        let menpiao = 0
        do {
            console.log('进游乐园')
            menpiao--
        } while(menpiao > 0)
    </script>
</body>
</html>